﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class Location
    {
        #region Variables
        /// <summary>
        /// User Registration Variables
        /// </summary>
        private int _LocationID;
        private String _Created;
        private String _Updated;
        private String _Isactive;
        private String _Address;
        private String _Descriptions;
        #endregion

        public Location()
        {
        }

        /// <summary>
        /// Gets or sets the <b>_LocationID</b> attribute value.
        /// </summary>
        /// <value>The <b>_LocationID</b> attribute value.</value>
        public int LocationID
        {
            get
            {
                return _LocationID;
                     
            }
            set
            {
                _LocationID = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Created</b> attribute value.
        /// </summary>
        /// <value>The <b>_Created</b> attribute value.</value>
        public String Created
        {
            get
            {
                return String.Format("{0:d/M/yyyy HH:mm:ss}", _Created);

            }
            set
            {
                _Created = String.Format("{0:d/M/yyyy HH:mm:ss}", value);
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Updated</b> attribute value.
        /// </summary>
        /// <value>The <b>_Updated</b> attribute value.</value>
        public String Updated
        {
            get
            {
                return String.Format("{0:d/M/yyyy HH:mm:ss}", _Updated);

            }
            set
            {
                _Updated = String.Format("{0:d/M/yyyy HH:mm:ss}", value);
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Isactive</b> attribute value.
        /// </summary>
        /// <value>The <b>_Isactive</b> attribute value.</value>
        public String Isactive
        {
            get
            {

                return _Isactive;

            }
            set
            {
                _Isactive = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Address</b> attribute value.
        /// </summary>
        /// <value>The <b>_Address</b> attribute value.</value>
        public String Address
        {
            get
            {
                return _Address;

            }
            set
            {
                _Address = value;
            }
        }
        /// <summary>
        /// Gets or sets the <b>_Descriptions</b> attribute value.
        /// </summary>
        /// <value>The <b>_Descriptions</b> attribute value.</value>
        public String Descriptions
        {
            get
            {
                return _Descriptions;

            }
            set
            {
                _Descriptions = value;
            }
        }
    }
}
